package com.alibaba.dubbo.demo.impl;

import org.springframework.context.support.ClassPathXmlApplicationContext;

import java.io.IOException;

/**
 *
 * @author:  wyc
 * @date:    2018/6/20 18:45
 */
public class Provider {

    public static void main(String[] args) throws IOException {
            ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("provider.xml");
            System.out.println("################### " + context.getDisplayName());

        System.out.println("");

            context.start();
            System.out.println("################### 服务已经启动...");
            System.in.read();

        System.out.println("test");
        System.out.println("test");

        }

}
